﻿using System.ComponentModel;
using System.Reflection;
using XjjXmm.FrameWork.ToolKit;
using XjjXmm.Spider.Entity;

namespace Novel.Web.Models
{
    public class MenuService
    {
        public List<MenuOutput>  GetMenus()
        {
            var menus = new List<MenuOutput>();
            menus.Add(new MenuOutput
            {
                Controller = "home",
                Action = "list",
                Category = MenuEnum.XuanHuan.ToString(),
                Description = MenuEnum.XuanHuan.ToDescription()
            });

            menus.Add(new MenuOutput
            {
                Controller = "home",
                Action = "list",
                Category = MenuEnum.XiuZheng.ToString(),
                Description = MenuEnum.XiuZheng.ToDescription()
            });

            menus.Add(new MenuOutput
            {
                Controller = "home",
                Action = "list",
                Category = MenuEnum.DuShi.ToString(),
                Description = MenuEnum.DuShi.ToDescription()
            });

            menus.Add(new MenuOutput
            {
                Controller = "home",
                Action = "list",
                Category = MenuEnum.ChuanYue.ToString(),
                Description = MenuEnum.ChuanYue.ToDescription()
            });

            menus.Add(new MenuOutput
            {
                Controller = "home",
                Action = "list",
                Category = MenuEnum.WangYou.ToString(),
                Description = MenuEnum.WangYou.ToDescription()
            });

            menus.Add(new MenuOutput
            {
                Controller = "home",
                Action = "list",
                Category = MenuEnum.KeHuan.ToString(),
                Description = MenuEnum.KeHuan.ToDescription()
            });

            menus.Add(new MenuOutput
            {
                Controller = "home",
                Action = "list",
                Category = MenuEnum.NvSheng.ToString(),
                Description = MenuEnum.NvSheng.ToDescription()
            });

            menus.Add(new MenuOutput
            {
                Controller = "home",
                Action = "list",
                Category = MenuEnum.QiTa.ToString(),
                Description = MenuEnum.QiTa.ToDescription()
            });


            return menus;
        }

       
    }
}
